package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.item.vo.CategoryView;
import com.atguigu.gmall.product.entity.BaseCategory1;
import com.atguigu.gmall.weball.CategoryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lfy
 * @Description
 * @create 2022-10-29 14:37
 */
//@Mapper
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    List<CategoryVO> getCategoryTreeData();

    CategoryView getSkuCategoryView(@Param("c3Id") Long c3Id);
}
